/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-editor .inline-chat-quick-voice {
	background-color: var(--vscode-editor-background);
	padding: 2px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 8px var(--vscode-inlineChat-shadow);
	z-index: 1000;
	min-height: var(--vscode-inline-chat-quick-voice-height);
	line-height: var(--vscode-inline-chat-quick-voice-height);
	max-width: var(--vscode-inline-chat-quick-voice-width);
}

.monaco-editor .inline-chat-quick-voice .codicon.codicon-mic-filled {
	display: flex;
	align-items: center;
	width: 16px;
	height: 16px;
}

.monaco-editor .inline-chat-quick-voice.recording .codicon.codicon-mic-filled {
	color: var(--vscode-activityBarBadge-background);
	animation: ani-inline-chat 1s infinite;
}

@keyframes ani-inline-chat {
	0% {
		color: var(--vscode-editorCursor-background);
	}
	50% {
		color: var(--vscode-activityBarBadge-background);
	}
	100% {
		color: var(--vscode-editorCursor-background);
	}
}

.monaco-editor .inline-chat-quick-voice .preview {
	opacity: .4;
}

.monaco-editor .inline-chat-quick-voice .message:not(:empty) {
	margin-right: 0.4ch;
}
